package com.atguigu.edustatistics.feign;

import com.atguigu.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author: Cyrus
 * @CreateDate: 2020/12/19
 */
@FeignClient("service-ucenter")
public interface UcenterApi {
    /**
     * 获取某一天的注册人数
     */
    @GetMapping("/educenter/member/getRegister/{day}")
    R getRegister(@PathVariable("day") String day);
}
